package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.YgStockWhiteList;
import com.ygqh.baby.po.YgStockWhiteListExample;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface YgStockWhiteListMapper {
	int countByExample(YgStockWhiteListExample example);

	int deleteByExample(YgStockWhiteListExample example);

	int deleteByPrimaryKey(Long id);

	int insert(YgStockWhiteList record);

	int insertSelective(YgStockWhiteList record);

	List<YgStockWhiteList> selectByExampleWithBLOBs(YgStockWhiteListExample example);

	List<YgStockWhiteList> selectByExample(YgStockWhiteListExample example);

	YgStockWhiteList selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") YgStockWhiteList record, @Param("example") YgStockWhiteListExample example);

	int updateByExampleWithBLOBs(@Param("record") YgStockWhiteList record, @Param("example") YgStockWhiteListExample example);

	int updateByExample(@Param("record") YgStockWhiteList record, @Param("example") YgStockWhiteListExample example);

	int updateByPrimaryKeySelective(YgStockWhiteList record);

	int updateByPrimaryKeyWithBLOBs(YgStockWhiteList record);

	int updateByPrimaryKey(YgStockWhiteList record);

	List<YgStockWhiteList> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("startDate") Date startDate, @Param("endDate") Date endDate,
			@Param("q") String q);

	int countSuper(@Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("q") String q);

	YgStockWhiteList selectStockWhiteOnLine();
}